package com.qf.kdgroup.gdbackend.service;

import com.github.pagehelper.PageInfo;
import com.qf.kdgroup.gdbackend.dto.ResultBean;
import com.qf.kdgroup.gdbackend.entity.Auth;
import com.qf.kdgroup.gdbackend.entity.User;
import com.qf.kdgroup.gdbackend.vo.PageVO;
import com.qf.kdgroup.gdbackend.vo.UserVO;

import java.util.List;

public interface UserService {

    ResultBean findByUsername(UserVO userVO);

    PageInfo selectAllByPage(PageVO pageVO);

    ResultBean deleteById(long userid);

    ResultBean add(User user);

    User findById(Long userid);

    ResultBean update(User user);
}
